package com.seabook.store.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CommonUtil {
    
    static SimpleDateFormat dateformat = new SimpleDateFormat("yyyyMMdd");

    public static String generateId(){
        return dateformat.format(new Date());
    }
    
    public static void main(String[] args){
        System.out.println(generateId());
    }
}
